package com.xiaoshuidi.cloud.module.rooms.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.xiaoshuidi.cloud.framework.mybatis.core.dataobject.BaseDO;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 房型信息
 * </p>
 *
 * @author hans.zhang
 * @since 2023-05-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_layout")
@Schema(description="房型信息")
public class RoomLayout extends TenantBaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "房型名称")
    private String name;

    @Schema(description = "关联公寓ID")
    private Long apartmentId;

    @Schema(description = "面积最小值")
    private String spaceMin;

    @Schema(description = "面积最大值")
    private String spaceMax;

    @Schema(description = "房屋配置, 关联字典表label")
    private String detailPoint;

    @Schema(description = "描述")
    private String houseDesc;

    @Schema(description = "可住人数")
    private Integer peopleNumber;

    @Schema(description = "图片url,多张采用英文逗号分割")
    private String picUrl;

    @Schema(description = "视频URL，多条采用英文逗号分割")
    private String videoUrl;

    @Schema(description = "vr封面url")
    private String vrPicUrl;

    @Schema(description = "vr URL,多条采用英文逗号分割")
    private String vrUrl;

    @Schema(description = "关联户型ID")
    private Long roomHouseTypeId;

    @Schema(description = "月租金")
    private Double monthRental;

    @Schema(description = "部门编号")
    private Long deptId;

}
